package pwd.allen;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

/**
 * @author lenovo
 * @create 2019-10-06 9:39
 **/
//@EnableDubbo
@SpringBootApplication
@EnableHystrix//开启hystrix服务容错和熔断
public class BootConsumerMain {

    public static void main(String[] args) {
        SpringApplication.run(BootConsumerMain.class, args);
    }
}
